package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Lesson;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface LessonMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Lesson entity);

    Lesson selectByPrimaryKey(Long id);

    List<Lesson> selectAll();

    int updateByPrimaryKey(Lesson entity);

    Integer query4Count(QueryObject qo);

    List<?> query4List(QueryObject qo);
}